﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="uploadImage.aspx.cs" Inherits="InstrumentCheck.WebUI.uploadImage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <script type="text/javascript" language="javascript">
        function Image(strURL, strInfo) {
            window.top.UploadImage(strURL,strInfo);
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <table style="width:500px;height:auto;">
    <asp:Panel ID="pnlUpload" runat="server">
    <tr>
        <td align="left">
            請選擇文件：&nbsp;&nbsp; <asp:FileUpload ID="upload" runat="server" />
            &nbsp;&nbsp;<asp:Button ID="btnUpload" runat="server" Text="開始上傳" onclick="btnUpload_Click" />
            &nbsp;&nbsp;<asp:Button ID="btnClose" runat="server" Text="關閉" onclick="btnClose_Click" />
        </td>           
    </tr>
    </asp:Panel>
    <tr style="height:10px">
        <td><asp:TextBox ID="txtAttachType" CssClass="hide" runat="server"></asp:TextBox></td>
    </tr>
    <tr>
        <td>                    
            <asp:GridView ID="gvImage" runat="server" OnRowDataBound="gvImage_RowDataBound" 
                onrowdeleting="gvImage_RowDeleting">
                <Columns>
                    <asp:BoundField DataField="ClientName" HeaderText="客戶端名字" />
                    <asp:BoundField DataField="SystemName" HeaderText="主機端名字" />
                    <asp:BoundField HeaderText="构造的链接" />
                    <asp:CommandField ButtonType="Button" HeaderText="刪除" ShowDeleteButton="true" DeleteText="刪除" >
                    <ItemStyle HorizontalAlign="Center" />
                    </asp:CommandField>                    
                </Columns>
            </asp:GridView>                    
        </td>
    </tr>        
    </table>
    </div>
    </form>
</body>
</html>
